//
//  FlutterWxApiHandler.h
//  Pods-Runner
//
//  Created by lu on 8/11/2019.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface FlutterWxApiHandler : NSObject

- (instancetype)initWithRegistrar:(NSObject <FlutterPluginRegistrar> *)registrar;

// MARK: - 微信注册、登录

// 注册微信
- (void)wxRegisterWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 是否安装微信
- (void)wxIsInstalledWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信授权
- (void)wxAuthWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// MARK: - 微信分享

// 微信分享文本
- (void)wxShareTextWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信分享图片
- (void)wxShareImageWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信分享音乐
- (void)wxShareMusicWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信分享视频
- (void)wxShareVideoWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信分享网页
- (void)wxShareWebPageWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信分享小程序
- (void)wxShareMiniProgramWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 微信支付
- (void)wxPayWithCall:(FlutterMethodCall *)call result:(FlutterResult)result;

@end

NS_ASSUME_NONNULL_END
